// pages/contact/contact.js
var WxParse = require('../../wxParse/wxParse.js');
var request = require('../../utils/https.js');
var uri = 'index/we.html';
Page({

  /**
   * 页面的初始数据
   */
  data: {
     contact:''
  },
  /**
   * 生命周期函数--监听页面显示
   */
  onLoad: function () {
    var that=this;
    request.req(uri, 
      { user_id: wx.getStorageSync('userId')},
      (err,res)=>{
        var data=res.data;
        var article = data.list.value;
        WxParse.wxParse('article', 'html', article, that, 5);
     })
  }
 
})